Dev4Press\v49\Core\Helpers\IP A

Total Complexity 67
Dependencies 0
Dependents 7
Total lines 335
Lines of code 229
Logical lines of code 133
Comment lines 3
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
visitor()
A
50 10 31
is_cloudflare()
A
50 10 30
is_private()
S
56 7 19
is_ipv4_in_range()
S
51 6 25
is_ipv6_in_range()
S
53 5 22
full_ip()
S
60 4 12
all()
S
55 3 22
get_ip_key_value()
S
63 4 10
get_visitor_ip_non_standard()
S
59 3 15
validate()
S
62 3 11
server()
S
64 3 10
is_private_regex()
S
71 2 6
cleanup()
S
74 2 4
is_in_range()
S
77 2 3
is_v6()
S
78 1 3
random_ipv4()
S
77 1 3
is_v4()
S
78 1 3